From 79f92720d1a131db42b6e72f35ef92c10f716cec Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Wed, 16 Jun 1993 21:26:47 +0000 Subject: [PATCH] * window.c (check_frame_size): Allow minibuffer-only frames to be one line high. --- src/window.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/window.c b/src/window.c index d3baca1d8a2..d7e91560d7c 100644 --- a/src/window.c +++ b/src/window.c @@ -1376,9 +1376,8 @@ check_frame_size (frame, rows, cols) /* For height, we have to see whether the frame has a minibuffer, and whether it wants a mode line. */ int min_height = - ((FRAME_MINIBUF_ONLY_P (frame) - || ! FRAME_HAS_MINIBUF_P (frame)) - ? MIN_SAFE_WINDOW_HEIGHT + (FRAME_MINIBUF_ONLY_P (frame) ? MIN_SAFE_WINDOW_HEIGHT - 1 + : (! FRAME_HAS_MINIBUF_P (frame)) ? MIN_SAFE_WINDOW_HEIGHT : 2 * MIN_SAFE_WINDOW_HEIGHT - 1); if (*rows < min_height) -- 2.30.2